//
//  RGUserInfoHeaderView.h
//  RedGrass
//
//  Created by wukong on 2018/11/27.
//  Copyright © 2018年 hongcaosp. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SlideTabBar.h"
#import "RGMessageContactModel.h"
NS_ASSUME_NONNULL_BEGIN

@protocol UserInfoDelegate
- (void)onUserActionTap:(NSInteger)tag;
@end

@interface RGMeTagView : UIView
@property (strong, nonatomic) UIImageView *icon;
@property (strong, nonatomic) UILabel *contentLabel;
@end

typedef enum : NSUInteger {
    Setting = 100,
    AddFriend,
    Vip,
    QrCode
} MeViewFuncItemTag;


@interface RGUserInfoHeaderView : UICollectionReusableView
@property (copy, nonatomic) void (^actionBtnClick)(NSInteger tag);
@property (nonatomic, weak) id<UserInfoDelegate> delegate;
//@property (strong, nonatomic) SlideTabBar *slideTabBar;
@property (nonatomic,strong) RGUserInfoModel *model;
@property (nonatomic,assign)  BOOL isShowBtnView;
@property (nonatomic,assign) NSInteger tabIndex;
- (void)overScrollAction:(CGFloat) offsetY;
- (void)scrollToTopAction:(CGFloat) offsetY;

- (void)scrollViewDidScroll:(CGFloat)offsetY withAlpha:(CGFloat)alpha;

@end

NS_ASSUME_NONNULL_END


